package kpi.java_training.utils;

/**
 * Created by Alex Kebkalo (kebka@mail.ru) on 25.11.13.
 */
public class XmlConstants {
    public static final String DEFAULT_QUESTIONS_FILE = "questions.xml";
    public static final String USER_FILE_EXTENSION = "xml";

    public static final String USER = "user";
    public static final String QUESTIONS_SECTION = "questions";
    public static final String TOPIC = "topic";
    public static final String TOPIC_NAME = "name";
    public static final String QUESTION = "question";
    public static final String QUESTION_TYPE = "type";
    public static final String QUESTION_TEXT = "textOfQuestion";
    public static final String ANSWER_VARIANTS = "answerVariants";
    public static final String ANSWER_VARIANT = "answerVariant";
    public static final String CORRECT_ANSWER = "correctAnswer";
    public static final String COMPLEXITY = "complexity";
    public static final String QUESTION_TYPE_MULTI = "multi";
    public static final String QUESTION_TYPE_ONE = "one";
    public static final String QUESTION_TYPE_YES_NO = "yes-no";
    public static final String QUESTION_TYPE_TEXT = "text";

    public static final String ANSWERS_SECTION = "answers";
    public static final String ANSWER = "answer";

    public static final String USERS_FILE = "users.xml";
    public static final String USERS_SECTION = "users";
    public static final String USER_NAME = "login";
    public static final String USER_PASSWORD = "password";
}
